import Standard from '~/components/layout/standard'
import Note from '~/components/text/note'
import { InlineCode } from '~/components/text/code'

export const meta = {
  title: 'Too Many Filesystem Checks',
  description: 'The filesystem was checked too many times during routing.',
  editUrl: 'pages/docs/error/application/TOO_MANY_FILESYSTEM_CHECKS.mdx',
  lastEdited: '2020-01-13T13:41:14.000Z'
}

#### Application Error

An error occurred in the application when matching too many rewrites.

<br />
<Note label={false}>
  <b>502</b>: Bad Gateway
  <br />
  Code: <InlineCode>TOO_MANY_FILESYSTEM_CHECKS</InlineCode>
</Note>

---

#### Troubleshoot

- Reduce the number of rewrites that match the erroring request path.
- **[Contact Support](mailto:support@zeit.co)** if you have trouble locating the rewrites causing the error.

export default ({ children }) => <Standard meta={meta}>{children}</Standard>

export const config = {
  amp: 'hybrid'
}
